.class Lcom/noshufou/android/su/UpdaterFragment$ConsoleEntry;
.super Ljava/lang/Object;
.source "UpdaterFragment.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/noshufou/android/su/UpdaterFragment;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "ConsoleEntry"
.end annotation


# instance fields
.field public entry:Ljava/lang/String;

.field public status:Ljava/lang/String;

.field public statusColor:I

.field final synthetic this$0:Lcom/noshufou/android/su/UpdaterFragment;


# direct methods
.method public constructor <init>(Lcom/noshufou/android/su/UpdaterFragment;I)V
    .locals 1
    .parameter
    .parameter "res"

    .prologue
    .line 853
    iput-object p1, p0, Lcom/noshufou/android/su/UpdaterFragment$ConsoleEntry;->this$0:Lcom/noshufou/android/su/UpdaterFragment;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 850
    const-string v0, ""

    iput-object v0, p0, Lcom/noshufou/android/su/UpdaterFragment$ConsoleEntry;->status:Ljava/lang/String;

    .line 851
    #getter for: Lcom/noshufou/android/su/UpdaterFragment;->CONSOLE_GREY:I
    invoke-static {p1}, Lcom/noshufou/android/su/UpdaterFragment;->access$22(Lcom/noshufou/android/su/UpdaterFragment;)I

    move-result v0

    iput v0, p0, Lcom/noshufou/android/su/UpdaterFragment$ConsoleEntry;->statusColor:I

    .line 854
    invoke-virtual {p1}, Lcom/noshufou/android/su/UpdaterFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    invoke-virtual {v0, p2}, Landroid/support/v4/app/FragmentActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/noshufou/android/su/UpdaterFragment$ConsoleEntry;->entry:Ljava/lang/String;

    .line 855
    return-void
.end method


# virtual methods
.method public toString()Ljava/lang/String;
    .locals 2

    .prologue
    .line 859
    new-instance v0, Ljava/lang/StringBuilder;

    iget-object v1, p0, Lcom/noshufou/android/su/UpdaterFragment$ConsoleEntry;->entry:Ljava/lang/String;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/noshufou/android/su/UpdaterFragment$ConsoleEntry;->status:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method
